package com.cinorecycle.printqrcode.constant;

public interface Constant {

    //成功代码
    Integer OK = 200;
    Integer OK_LAYUI = 0;

    //失败代码
    Integer ERR = -1;

    //成功
    String SUCCESS_MSG = "成功";
    String SUCCESS_GET = "成功获取";
    String SUCCESS_DELETE = "成功删除";
    String SUCCESS_INSERT = "成功写入";
    String SUCCESS_UPDATE = "成功修改";
    String SUCCESS_PRINT = "成功打印";

    //失败原因
    String ERR_NULL = "无";
    String ERR_MSG = "失败";
    String ERR_INSERT = "插入失败";
    String ERR_DELETE = "删除失败";
    String ERR_UPDATE = "修改失败";
    String ERR_HAS_NO_EXIST = "不存在";
    String ERR_HAS_EXIST = "已经存在";
    String ERR_NOT_NULL = "不能为空";
    String ERR_IS_NULL = "查询为空";
    String ERR_UNKNOWN = "未知错误";
    String ERR_PRINT = "打印失败";
    String ERR_DOUBLE_CMD_OPEN = "你开启了多个窗口";
}
